<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>让年级采用select选择的方式</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
		ul{list-style:none}
	</style>
  </head>
  
  <body>
    <form method="post" action="homework/doAddStu.jsp">
    	<ul>
    	<li>姓名：<input type="text" name="name"></li>
    	<li>电话：<input type="text" name="telephone"></li>
    	<li>年级：
    	<select name="grade">
    		<option value="1" selected>1</option>
    		<option value="2">2</option>
    		<option value="3">3</option>
    		<option value="4">4</option>
    		<option value="5">5</option>
    	</select>
    	</li>
    	<li>城市：<input type="text" name="city"></li> 
    	<li>密码：<input type="password" name="pass"></li>  
    	<li><input type="submit" name="submit" value="提交"></li> 	
    	</ul>   	
    </form>
  </body>
</html>
